.class public Lcom/wmr/order/OrderlistActivity;
.super Landroid/app/Activity;
.source "OrderlistActivity.java"

# interfaces
.implements Lcom/wmr/Lstview/XListView$IXListViewListener;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "HandlerLeak",
        "ShowToast"
    }
.end annotation

.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/wmr/order/OrderlistActivity$mOnlisterner;
    }
.end annotation


# static fields
.field public static OrderlistAct:Lcom/wmr/order/OrderlistActivity;


# instance fields
.field private ListViewOrder:Lcom/wmr/Lstview/XListView;

.field private closebtn:Landroid/widget/LinearLayout;

.field public h:Landroid/os/Handler;

.field private isEdite:Z

.field private is_loading:Z

.field private m:Lmyapp/MyApp;

.field private mHandler:Landroid/os/Handler;

.field private mcontext:Landroid/content/Context;

.field private orderAdapter:Ldata/OrderData;

.field private order_ctrol_code:Ljava/lang/String;

.field private order_ctrol_postion:I

.field private orderid:Ljava/lang/String;

.field private orderls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/OrderBean;",
            ">;"
        }
    .end annotation
.end field

.field private ordershowtype:Ljava/lang/String;

.field private page:I

.field private shoplayout:Landroid/widget/RelativeLayout;

.field private temporderls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/OrderBean;",
            ">;"
        }
    .end annotation
.end field

.field private tv_order_edite:Landroid/widget/TextView;

.field private waitLoginView:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    const/4 v0, 0x0

    .line 52
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 53
    iput-object v0, p0, Lcom/wmr/order/OrderlistActivity;->m:Lmyapp/MyApp;

    .line 56
    iput-object v0, p0, Lcom/wmr/order/OrderlistActivity;->h:Landroid/os/Handler;

    .line 57
    iput-object v0, p0, Lcom/wmr/order/OrderlistActivity;->shoplayout:Landroid/widget/RelativeLayout;

    .line 58
    const-string v0, "0"

    iput-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ordershowtype:Ljava/lang/String;

    .line 60
    const/4 v0, 0x1

    iput v0, p0, Lcom/wmr/order/OrderlistActivity;->page:I

    .line 66
    iput-boolean v1, p0, Lcom/wmr/order/OrderlistActivity;->isEdite:Z

    .line 77
    iput-boolean v1, p0, Lcom/wmr/order/OrderlistActivity;->is_loading:Z

    .line 52
    return-void
.end method

.method static synthetic access$0(Lcom/wmr/order/OrderlistActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 64
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->tv_order_edite:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$1(Lcom/wmr/order/OrderlistActivity;Z)V
    .locals 0

    .prologue
    .line 66
    iput-boolean p1, p0, Lcom/wmr/order/OrderlistActivity;->isEdite:Z

    return-void
.end method

.method static synthetic access$10(Lcom/wmr/order/OrderlistActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 74
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->temporderls:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$11(Lcom/wmr/order/OrderlistActivity;I)V
    .locals 0

    .prologue
    .line 60
    iput p1, p0, Lcom/wmr/order/OrderlistActivity;->page:I

    return-void
.end method

.method static synthetic access$12(Lcom/wmr/order/OrderlistActivity;)Lmyapp/MyApp;
    .locals 1

    .prologue
    .line 53
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->m:Lmyapp/MyApp;

    return-object v0
.end method

.method static synthetic access$13(Lcom/wmr/order/OrderlistActivity;I)V
    .locals 0

    .prologue
    .line 71
    iput p1, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    return-void
.end method

.method static synthetic access$14(Lcom/wmr/order/OrderlistActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 58
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ordershowtype:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$15(Lcom/wmr/order/OrderlistActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 70
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_code:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$16(Lcom/wmr/order/OrderlistActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->orderid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$2(Lcom/wmr/order/OrderlistActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 73
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$3(Lcom/wmr/order/OrderlistActivity;)Lcom/wmr/Lstview/XListView;
    .locals 1

    .prologue
    .line 72
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    return-object v0
.end method

.method static synthetic access$4(Lcom/wmr/order/OrderlistActivity;)Z
    .locals 1

    .prologue
    .line 66
    iget-boolean v0, p0, Lcom/wmr/order/OrderlistActivity;->isEdite:Z

    return v0
.end method

.method static synthetic access$5(Lcom/wmr/order/OrderlistActivity;Ldata/OrderData;)V
    .locals 0

    .prologue
    .line 75
    iput-object p1, p0, Lcom/wmr/order/OrderlistActivity;->orderAdapter:Ldata/OrderData;

    return-void
.end method

.method static synthetic access$6(Lcom/wmr/order/OrderlistActivity;)Ldata/OrderData;
    .locals 1

    .prologue
    .line 75
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->orderAdapter:Ldata/OrderData;

    return-object v0
.end method

.method static synthetic access$7(Lcom/wmr/order/OrderlistActivity;)V
    .locals 0

    .prologue
    .line 227
    invoke-direct {p0}, Lcom/wmr/order/OrderlistActivity;->onLoad()V

    return-void
.end method

.method static synthetic access$8(Lcom/wmr/order/OrderlistActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 55
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->mcontext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$9(Lcom/wmr/order/OrderlistActivity;)I
    .locals 1

    .prologue
    .line 60
    iget v0, p0, Lcom/wmr/order/OrderlistActivity;->page:I

    return v0
.end method

.method private onLoad()V
    .locals 2

    .prologue
    .line 228
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v0}, Lcom/wmr/Lstview/XListView;->stopRefresh()V

    .line 229
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v0}, Lcom/wmr/Lstview/XListView;->stopLoadMore()V

    .line 230
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {p0}, Lcom/wmr/order/OrderlistActivity;->GetTime()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setRefreshTime(Ljava/lang/String;)V

    .line 231
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/wmr/order/OrderlistActivity;->is_loading:Z

    .line 232
    return-void
.end method


# virtual methods
.method public GetTime()Ljava/lang/String;
    .locals 3
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "SimpleDateFormat"
        }
    .end annotation

    .prologue
    .line 264
    new-instance v1, Ljava/text/SimpleDateFormat;

    .line 265
    const-string v2, "yyyy-MM-dd    hh:mm:ss"

    .line 264
    invoke-direct {v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    .line 266
    .local v1, "sDateFormat":Ljava/text/SimpleDateFormat;
    new-instance v2, Ljava/util/Date;

    invoke-direct {v2}, Ljava/util/Date;-><init>()V

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    .line 267
    .local v0, "date":Ljava/lang/String;
    return-object v0
.end method

.method public bindbtn()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 497
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->closebtn:Landroid/widget/LinearLayout;

    new-instance v2, Lcom/wmr/order/OrderlistActivity$mOnlisterner;

    invoke-direct {v2, p0, v3}, Lcom/wmr/order/OrderlistActivity$mOnlisterner;-><init>(Lcom/wmr/order/OrderlistActivity;Lcom/wmr/order/OrderlistActivity$mOnlisterner;)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 498
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->tv_order_edite:Landroid/widget/TextView;

    new-instance v2, Lcom/wmr/order/OrderlistActivity$mOnlisterner;

    invoke-direct {v2, p0, v3}, Lcom/wmr/order/OrderlistActivity$mOnlisterner;-><init>(Lcom/wmr/order/OrderlistActivity;Lcom/wmr/order/OrderlistActivity$mOnlisterner;)V

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 499
    const v1, 0x7f0c0016

    invoke-virtual {p0, v1}, Lcom/wmr/order/OrderlistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/example/location/BottomMenu;

    .line 500
    .local v0, "menu":Lcom/example/location/BottomMenu;
    const-string v1, "order"

    invoke-virtual {v0, v1}, Lcom/example/location/BottomMenu;->SetOn(Ljava/lang/String;)V

    .line 502
    return-void
.end method

.method public getorderlist()Z
    .locals 1

    .prologue
    .line 545
    new-instance v0, Lcom/wmr/order/OrderlistActivity$11;

    invoke-direct {v0, p0}, Lcom/wmr/order/OrderlistActivity$11;-><init>(Lcom/wmr/order/OrderlistActivity;)V

    .line 620
    invoke-virtual {v0}, Lcom/wmr/order/OrderlistActivity$11;->start()V

    .line 621
    const/4 v0, 0x0

    return v0
.end method

.method public loadlistView()V
    .locals 9
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "ShowToast"
        }
    .end annotation

    .prologue
    const/4 v8, 0x0

    const/4 v2, -0x2

    .line 202
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->mcontext:Landroid/content/Context;

    const-string v1, "\u52a0\u8f7d\u8ba2\u5355\u6570\u636e\u4e2d"

    invoke-static {v0, v1, v8}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 203
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->shoplayout:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->removeAllViews()V

    .line 204
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    if-nez v0, :cond_0

    .line 205
    new-instance v0, Lcom/wmr/Lstview/XListView;

    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->mcontext:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/wmr/Lstview/XListView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    .line 206
    new-instance v7, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v7, v2, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    .line 209
    .local v7, "lp2":Landroid/widget/RelativeLayout$LayoutParams;
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v0, v7}, Lcom/wmr/Lstview/XListView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 210
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setPullLoadEnable(Z)V

    .line 211
    new-instance v0, Ldata/OrderData;

    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->mcontext:Landroid/content/Context;

    iget-object v2, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    .line 212
    invoke-virtual {p0}, Lcom/wmr/order/OrderlistActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    iget-object v4, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    iget-object v5, p0, Lcom/wmr/order/OrderlistActivity;->h:Landroid/os/Handler;

    iget-boolean v6, p0, Lcom/wmr/order/OrderlistActivity;->isEdite:Z

    invoke-direct/range {v0 .. v6}, Ldata/OrderData;-><init>(Landroid/content/Context;Ljava/util/List;Landroid/content/Context;Landroid/widget/ListView;Landroid/os/Handler;Z)V

    .line 211
    iput-object v0, p0, Lcom/wmr/order/OrderlistActivity;->orderAdapter:Ldata/OrderData;

    .line 213
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderAdapter:Ldata/OrderData;

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 214
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v0, p0}, Lcom/wmr/Lstview/XListView;->setXListViewListener(Lcom/wmr/Lstview/XListView$IXListViewListener;)V

    .line 219
    .end local v7    # "lp2":Landroid/widget/RelativeLayout$LayoutParams;
    :cond_0
    iput-boolean v8, p0, Lcom/wmr/order/OrderlistActivity;->is_loading:Z

    .line 220
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->shoplayout:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    .line 223
    invoke-virtual {p0}, Lcom/wmr/order/OrderlistActivity;->onRefresh()V

    .line 224
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 4
    .param p1, "requestCode"    # I
    .param p2, "resultCode"    # I
    .param p3, "data"    # Landroid/content/Intent;

    .prologue
    const/4 v3, 0x1

    .line 686
    const-string v0, "fdsafdsafdsa"

    const-string v1, "xxxxx"

    invoke-static {v0, v1}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 687
    const-string v0, "loginback"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "onActivityResultrequestCode"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    .line 688
    const-string v2, "\n resultCode="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 687
    invoke-static {v0, v1}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 689
    const/16 v0, 0x64

    if-ne p1, v0, :cond_1

    .line 690
    if-ne p2, v3, :cond_0

    .line 691
    invoke-virtual {p0}, Lcom/wmr/order/OrderlistActivity;->loadlistView()V

    .line 707
    :cond_0
    :goto_0
    invoke-super {p0, p1, p2, p3}, Landroid/app/Activity;->onActivityResult(IILandroid/content/Intent;)V

    .line 708
    return-void

    .line 693
    :cond_1
    const/16 v0, 0x2712

    if-ne p1, v0, :cond_2

    .line 694
    const-string v0, "onActivityResult"

    const-string v1, "\u9000\u6b3e\u8fd4\u56de"

    invoke-static {v0, v1}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 695
    if-ne p2, v3, :cond_0

    .line 696
    invoke-virtual {p0}, Lcom/wmr/order/OrderlistActivity;->orderls_fresh()V

    goto :goto_0

    .line 698
    :cond_2
    const/16 v0, 0x3e9

    if-ne p1, v0, :cond_3

    .line 699
    if-ne p2, v3, :cond_0

    .line 700
    invoke-virtual {p0}, Lcom/wmr/order/OrderlistActivity;->orderls_fresh()V

    goto :goto_0

    .line 702
    :cond_3
    const/16 v0, 0x2718

    if-ne p1, v0, :cond_0

    .line 703
    if-ne p2, v3, :cond_0

    .line 704
    invoke-virtual {p0}, Lcom/wmr/order/OrderlistActivity;->orderls_fresh()V

    goto :goto_0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 7
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 81
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 82
    const v5, 0x7f030030

    invoke-virtual {p0, v5}, Lcom/wmr/order/OrderlistActivity;->setContentView(I)V

    .line 83
    invoke-virtual {p0}, Lcom/wmr/order/OrderlistActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v5

    check-cast v5, Lmyapp/MyApp;

    iput-object v5, p0, Lcom/wmr/order/OrderlistActivity;->m:Lmyapp/MyApp;

    .line 84
    iget-object v5, p0, Lcom/wmr/order/OrderlistActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v5}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v0

    .line 85
    .local v0, "activityList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/app/Activity;>;"
    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 86
    iput-object p0, p0, Lcom/wmr/order/OrderlistActivity;->mcontext:Landroid/content/Context;

    .line 87
    sput-object p0, Lcom/wmr/order/OrderlistActivity;->OrderlistAct:Lcom/wmr/order/OrderlistActivity;

    .line 89
    const v5, 0x7f0c0001

    invoke-virtual {p0, v5}, Lcom/wmr/order/OrderlistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/LinearLayout;

    iput-object v5, p0, Lcom/wmr/order/OrderlistActivity;->closebtn:Landroid/widget/LinearLayout;

    .line 90
    const v5, 0x7f0c00b2

    invoke-virtual {p0, v5}, Lcom/wmr/order/OrderlistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    iput-object v5, p0, Lcom/wmr/order/OrderlistActivity;->tv_order_edite:Landroid/widget/TextView;

    .line 91
    const v5, 0x7f0c004c

    invoke-virtual {p0, v5}, Lcom/wmr/order/OrderlistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/RelativeLayout;

    iput-object v5, p0, Lcom/wmr/order/OrderlistActivity;->shoplayout:Landroid/widget/RelativeLayout;

    .line 94
    invoke-virtual {p0}, Lcom/wmr/order/OrderlistActivity;->bindbtn()V

    .line 96
    :try_start_0
    invoke-virtual {p0}, Lcom/wmr/order/OrderlistActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    .line 97
    .local v2, "intent":Landroid/content/Intent;
    const-string v5, "ordershowtype"

    invoke-virtual {v2, v5}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, p0, Lcom/wmr/order/OrderlistActivity;->ordershowtype:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 101
    .end local v2    # "intent":Landroid/content/Intent;
    :goto_0
    const/4 v5, 0x0

    iput-object v5, p0, Lcom/wmr/order/OrderlistActivity;->waitLoginView:Landroid/view/View;

    .line 102
    const-string v5, "0"

    iput-object v5, p0, Lcom/wmr/order/OrderlistActivity;->orderid:Ljava/lang/String;

    .line 103
    const-string v5, ""

    iput-object v5, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_code:Ljava/lang/String;

    .line 104
    const/4 v5, 0x0

    iput v5, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    .line 106
    const/high16 v5, 0x7f0c0000

    invoke-virtual {p0, v5}, Lcom/wmr/order/OrderlistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/LinearLayout;

    .line 107
    .local v4, "top":Landroid/widget/LinearLayout;
    iget-object v5, p0, Lcom/wmr/order/OrderlistActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v5}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v5

    const-string v6, "1"

    invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 109
    const v5, 0x7f070026

    invoke-virtual {v4, v5}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 111
    :cond_0
    new-instance v5, Lcom/wmr/order/OrderlistActivity$1;

    invoke-direct {v5, p0}, Lcom/wmr/order/OrderlistActivity$1;-><init>(Lcom/wmr/order/OrderlistActivity;)V

    iput-object v5, p0, Lcom/wmr/order/OrderlistActivity;->h:Landroid/os/Handler;

    .line 190
    const v5, 0x7f0c0009

    invoke-virtual {p0, v5}, Lcom/wmr/order/OrderlistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 191
    .local v3, "titlename2":Landroid/widget/TextView;
    const-string v5, "\u8ba2\u5355\u5217\u8868"

    invoke-virtual {v3, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 192
    new-instance v5, Ljava/util/ArrayList;

    invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V

    iput-object v5, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    .line 193
    new-instance v5, Ljava/util/ArrayList;

    invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V

    iput-object v5, p0, Lcom/wmr/order/OrderlistActivity;->temporderls:Ljava/util/List;

    .line 194
    const-string v5, "MemberLoginActivity"

    const-string v6, "\u521d\u59cb\u5316\u6570\u636e"

    invoke-static {v5, v6}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 195
    new-instance v5, Landroid/os/Handler;

    invoke-direct {v5}, Landroid/os/Handler;-><init>()V

    iput-object v5, p0, Lcom/wmr/order/OrderlistActivity;->mHandler:Landroid/os/Handler;

    .line 196
    invoke-virtual {p0}, Lcom/wmr/order/OrderlistActivity;->loadlistView()V

    .line 198
    return-void

    .line 98
    .end local v3    # "titlename2":Landroid/widget/TextView;
    .end local v4    # "top":Landroid/widget/LinearLayout;
    :catch_0
    move-exception v1

    .line 99
    .local v1, "e":Ljava/lang/Exception;
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2
    .param p1, "keyCode"    # I
    .param p2, "event"    # Landroid/view/KeyEvent;

    .prologue
    const/4 v1, 0x0

    .line 717
    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    invoke-virtual {p2}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v0

    if-nez v0, :cond_0

    .line 718
    invoke-virtual {p0}, Lcom/wmr/order/OrderlistActivity;->finish()V

    .line 721
    :cond_0
    return v1
.end method

.method public onLoadMore()V
    .locals 4

    .prologue
    .line 273
    iget-boolean v0, p0, Lcom/wmr/order/OrderlistActivity;->is_loading:Z

    if-nez v0, :cond_0

    .line 274
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/wmr/order/OrderlistActivity;->is_loading:Z

    .line 275
    iget v0, p0, Lcom/wmr/order/OrderlistActivity;->page:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/wmr/order/OrderlistActivity;->page:I

    .line 277
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/wmr/order/OrderlistActivity$3;

    invoke-direct {v1, p0}, Lcom/wmr/order/OrderlistActivity$3;-><init>(Lcom/wmr/order/OrderlistActivity;)V

    .line 286
    const-wide/16 v2, 0x1f4

    .line 277
    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 289
    :cond_0
    return-void
.end method

.method public onRefresh()V
    .locals 4

    .prologue
    const/4 v1, 0x1

    .line 237
    iget-boolean v0, p0, Lcom/wmr/order/OrderlistActivity;->is_loading:Z

    if-nez v0, :cond_0

    .line 238
    iput-boolean v1, p0, Lcom/wmr/order/OrderlistActivity;->is_loading:Z

    .line 239
    iput v1, p0, Lcom/wmr/order/OrderlistActivity;->page:I

    .line 240
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setPullLoadEnable(Z)V

    .line 242
    iget-object v0, p0, Lcom/wmr/order/OrderlistActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/wmr/order/OrderlistActivity$2;

    invoke-direct {v1, p0}, Lcom/wmr/order/OrderlistActivity$2;-><init>(Lcom/wmr/order/OrderlistActivity;)V

    .line 257
    const-wide/16 v2, 0x1f4

    .line 242
    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 259
    :cond_0
    return-void
.end method

.method public onStart()V
    .locals 0

    .prologue
    .line 712
    invoke-super {p0}, Landroid/app/Activity;->onStart()V

    .line 713
    return-void
.end method

.method public order_update()Z
    .locals 1

    .prologue
    .line 629
    new-instance v0, Lcom/wmr/order/OrderlistActivity$12;

    invoke-direct {v0, p0}, Lcom/wmr/order/OrderlistActivity$12;-><init>(Lcom/wmr/order/OrderlistActivity;)V

    .line 679
    invoke-virtual {v0}, Lcom/wmr/order/OrderlistActivity$12;->start()V

    .line 680
    const/4 v0, 0x0

    return v0
.end method

.method public orderdo(Lbean/OrderBean;Ljava/lang/String;)V
    .locals 6
    .param p1, "ob"    # Lbean/OrderBean;
    .param p2, "controlecode"    # Ljava/lang/String;

    .prologue
    const/high16 v5, 0x7f060000

    const v4, 0x7f020063

    .line 293
    invoke-virtual {p1}, Lbean/OrderBean;->getId()Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/wmr/order/OrderlistActivity;->orderid:Ljava/lang/String;

    .line 294
    iput-object p2, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_code:Ljava/lang/String;

    .line 295
    const-string v2, "closeorder"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 296
    new-instance v0, Landroid/app/AlertDialog$Builder;

    .line 297
    new-instance v2, Landroid/view/ContextThemeWrapper;

    iget-object v3, p0, Lcom/wmr/order/OrderlistActivity;->mcontext:Landroid/content/Context;

    invoke-direct {v2, v3, v5}, Landroid/view/ContextThemeWrapper;-><init>(Landroid/content/Context;I)V

    .line 296
    invoke-direct {v0, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 298
    .local v0, "builder":Landroid/app/AlertDialog$Builder;
    const-string v2, "\u53d6\u6d88\u8ba2\u5355"

    invoke-virtual {v0, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 299
    invoke-virtual {v2, v4}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 300
    const-string v3, "\u786e\u8ba4\u63d0\u4ea4"

    .line 301
    new-instance v4, Lcom/wmr/order/OrderlistActivity$4;

    invoke-direct {v4, p0}, Lcom/wmr/order/OrderlistActivity$4;-><init>(Lcom/wmr/order/OrderlistActivity;)V

    .line 300
    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 313
    const-string v3, "\u53d6\u6d88"

    .line 314
    new-instance v4, Lcom/wmr/order/OrderlistActivity$5;

    invoke-direct {v4, p0}, Lcom/wmr/order/OrderlistActivity$5;-><init>(Lcom/wmr/order/OrderlistActivity;)V

    .line 313
    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 322
    invoke-virtual {v2}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    .line 420
    .end local v0    # "builder":Landroid/app/AlertDialog$Builder;
    :cond_0
    :goto_0
    return-void

    .line 324
    :cond_1
    const-string v2, "sureorder"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 326
    new-instance v0, Landroid/app/AlertDialog$Builder;

    .line 327
    new-instance v2, Landroid/view/ContextThemeWrapper;

    iget-object v3, p0, Lcom/wmr/order/OrderlistActivity;->mcontext:Landroid/content/Context;

    invoke-direct {v2, v3, v5}, Landroid/view/ContextThemeWrapper;-><init>(Landroid/content/Context;I)V

    .line 326
    invoke-direct {v0, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 328
    .restart local v0    # "builder":Landroid/app/AlertDialog$Builder;
    const-string v2, "\u786e\u8ba4\u8ba2\u5355"

    invoke-virtual {v0, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 329
    invoke-virtual {v2, v4}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 330
    const-string v3, "\u786e\u8ba4\u6536\u8d27"

    .line 331
    new-instance v4, Lcom/wmr/order/OrderlistActivity$6;

    invoke-direct {v4, p0}, Lcom/wmr/order/OrderlistActivity$6;-><init>(Lcom/wmr/order/OrderlistActivity;)V

    .line 330
    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 342
    const-string v3, "\u53d6\u6d88"

    .line 343
    new-instance v4, Lcom/wmr/order/OrderlistActivity$7;

    invoke-direct {v4, p0}, Lcom/wmr/order/OrderlistActivity$7;-><init>(Lcom/wmr/order/OrderlistActivity;)V

    .line 342
    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 351
    invoke-virtual {v2}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    goto :goto_0

    .line 352
    .end local v0    # "builder":Landroid/app/AlertDialog$Builder;
    :cond_2
    const-string v2, "delorder"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 353
    new-instance v0, Landroid/app/AlertDialog$Builder;

    .line 354
    new-instance v2, Landroid/view/ContextThemeWrapper;

    iget-object v3, p0, Lcom/wmr/order/OrderlistActivity;->mcontext:Landroid/content/Context;

    invoke-direct {v2, v3, v5}, Landroid/view/ContextThemeWrapper;-><init>(Landroid/content/Context;I)V

    .line 353
    invoke-direct {v0, v2}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 355
    .restart local v0    # "builder":Landroid/app/AlertDialog$Builder;
    const-string v2, "\u5220\u9664\u8ba2\u5355"

    invoke-virtual {v0, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 356
    invoke-virtual {v2, v4}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 357
    const-string v3, "\u786e\u8ba4\u63d0\u4ea4"

    .line 358
    new-instance v4, Lcom/wmr/order/OrderlistActivity$8;

    invoke-direct {v4, p0}, Lcom/wmr/order/OrderlistActivity$8;-><init>(Lcom/wmr/order/OrderlistActivity;)V

    .line 357
    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 370
    const-string v3, "\u53d6\u6d88"

    .line 371
    new-instance v4, Lcom/wmr/order/OrderlistActivity$9;

    invoke-direct {v4, p0}, Lcom/wmr/order/OrderlistActivity$9;-><init>(Lcom/wmr/order/OrderlistActivity;)V

    .line 370
    invoke-virtual {v2, v3, v4}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    .line 379
    invoke-virtual {v2}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    goto :goto_0

    .line 380
    .end local v0    # "builder":Landroid/app/AlertDialog$Builder;
    :cond_3
    const-string v2, "reback"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_4

    .line 381
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    .line 382
    .local v1, "intent":Landroid/content/Intent;
    const-string v2, "orderid"

    iget-object v3, p0, Lcom/wmr/order/OrderlistActivity;->orderid:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 383
    const-string v2, "allcost"

    invoke-virtual {p1}, Lbean/OrderBean;->getAllcost()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 384
    const-class v2, Lcom/wmr/order/RefundActivity;

    invoke-virtual {v1, p0, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 385
    const/16 v2, 0x2712

    invoke-virtual {p0, v1, v2}, Lcom/wmr/order/OrderlistActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto/16 :goto_0

    .line 386
    .end local v1    # "intent":Landroid/content/Intent;
    :cond_4
    const-string v2, "ping"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    .line 387
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    .line 388
    .restart local v1    # "intent":Landroid/content/Intent;
    const-string v2, "orderid"

    iget-object v3, p0, Lcom/wmr/order/OrderlistActivity;->orderid:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 389
    const-class v2, Lcom/wmr/order/PingActivity;

    invoke-virtual {v1, p0, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 390
    const/16 v2, 0x3e9

    invoke-virtual {p0, v1, v2}, Lcom/wmr/order/OrderlistActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto/16 :goto_0

    .line 392
    .end local v1    # "intent":Landroid/content/Intent;
    :cond_5
    const-string v2, "seeorder"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_6

    .line 393
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    .line 394
    .restart local v1    # "intent":Landroid/content/Intent;
    const-string v2, "orderid"

    iget-object v3, p0, Lcom/wmr/order/OrderlistActivity;->orderid:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 395
    const-string v2, "shopname"

    invoke-virtual {p1}, Lbean/OrderBean;->getShopname()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 397
    const-class v2, Lcom/wmr/order/OrderDetFrameActivity;

    .line 396
    invoke-virtual {v1, p0, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 398
    invoke-virtual {p0, v1}, Lcom/wmr/order/OrderlistActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 399
    .end local v1    # "intent":Landroid/content/Intent;
    :cond_6
    const-string v2, "reone"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_7

    .line 401
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    .line 402
    .restart local v1    # "intent":Landroid/content/Intent;
    const-string v2, "shopid"

    invoke-virtual {p1}, Lbean/OrderBean;->getshopid()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 403
    const-string v2, "shopname"

    invoke-virtual {p1}, Lbean/OrderBean;->getShopname()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 404
    const-string v2, "shoptype"

    invoke-virtual {p1}, Lbean/OrderBean;->getShoptype()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 406
    const-class v2, Lcom/example/m6wmr/ShopDishesActivity;

    .line 405
    invoke-virtual {v1, p0, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 406
    invoke-virtual {p0, v1}, Lcom/wmr/order/OrderlistActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 408
    .end local v1    # "intent":Landroid/content/Intent;
    :cond_7
    const-string v2, "gotopay"

    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 409
    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    .line 410
    .restart local v1    # "intent":Landroid/content/Intent;
    const-string v2, "orderid"

    iget-object v3, p0, Lcom/wmr/order/OrderlistActivity;->orderid:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 411
    const-string v2, "paytype"

    const-string v3, "order"

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 412
    const-string v2, "waitpay_cost"

    const-string v3, ""

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 413
    const-class v2, Lcom/example/m6wmr/PayBalanceAcivity;

    invoke-virtual {v1, p0, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 414
    const/16 v2, 0x2718

    invoke-virtual {p0, v1, v2}, Lcom/wmr/order/OrderlistActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto/16 :goto_0
.end method

.method public orderls_fresh()V
    .locals 3

    .prologue
    .line 426
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_code:Ljava/lang/String;

    const-string v2, "closeorder"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 427
    const-string v1, "xxxx"

    const-string v2, "\u8c03\u7528\u53d6\u6d88"

    invoke-static {v1, v2}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 428
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    iget v2, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/OrderBean;

    .line 429
    .local v0, "cc":Lbean/OrderBean;
    const-string v1, "4"

    invoke-virtual {v0, v1}, Lbean/OrderBean;->setStatus(Ljava/lang/String;)V

    .line 430
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    iget v2, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    invoke-interface {v1, v2, v0}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;

    .line 431
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderAdapter:Ldata/OrderData;

    invoke-virtual {v1}, Ldata/OrderData;->notifyDataSetChanged()V

    .line 460
    .end local v0    # "cc":Lbean/OrderBean;
    :cond_0
    :goto_0
    return-void

    .line 432
    :cond_1
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_code:Ljava/lang/String;

    const-string v2, "sureorder"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 433
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    iget v2, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/OrderBean;

    .line 434
    .restart local v0    # "cc":Lbean/OrderBean;
    const-string v1, "3"

    invoke-virtual {v0, v1}, Lbean/OrderBean;->setStatus(Ljava/lang/String;)V

    .line 435
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    iget v2, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    invoke-interface {v1, v2, v0}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;

    .line 436
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderAdapter:Ldata/OrderData;

    invoke-virtual {v1}, Ldata/OrderData;->notifyDataSetChanged()V

    goto :goto_0

    .line 437
    .end local v0    # "cc":Lbean/OrderBean;
    :cond_2
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_code:Ljava/lang/String;

    const-string v2, "delorder"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 438
    const-string v1, "xxxx"

    const-string v2, "\u8c03\u7528\u5220\u9664"

    invoke-static {v1, v2}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 439
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    iget v2, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    invoke-interface {v1, v2}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 440
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderAdapter:Ldata/OrderData;

    invoke-virtual {v1}, Ldata/OrderData;->notifyDataSetChanged()V

    goto :goto_0

    .line 441
    :cond_3
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_code:Ljava/lang/String;

    const-string v2, "reback"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 442
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    iget v2, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/OrderBean;

    .line 443
    .restart local v0    # "cc":Lbean/OrderBean;
    const-string v1, "1"

    invoke-virtual {v0, v1}, Lbean/OrderBean;->setIs_reback(Ljava/lang/String;)V

    .line 444
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    iget v2, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    invoke-interface {v1, v2, v0}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;

    .line 445
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderAdapter:Ldata/OrderData;

    invoke-virtual {v1}, Ldata/OrderData;->notifyDataSetChanged()V

    goto :goto_0

    .line 446
    .end local v0    # "cc":Lbean/OrderBean;
    :cond_4
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_code:Ljava/lang/String;

    const-string v2, "ping"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 447
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    iget v2, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/OrderBean;

    .line 448
    .restart local v0    # "cc":Lbean/OrderBean;
    const-string v1, "1"

    invoke-virtual {v0, v1}, Lbean/OrderBean;->setIs_ping(Ljava/lang/String;)V

    .line 449
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    iget v2, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    invoke-interface {v1, v2, v0}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;

    .line 450
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderAdapter:Ldata/OrderData;

    invoke-virtual {v1}, Ldata/OrderData;->notifyDataSetChanged()V

    goto/16 :goto_0

    .line 451
    .end local v0    # "cc":Lbean/OrderBean;
    :cond_5
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_code:Ljava/lang/String;

    const-string v2, "gotopay"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 452
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    iget v2, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/OrderBean;

    .line 453
    .restart local v0    # "cc":Lbean/OrderBean;
    const-string v1, "1"

    invoke-virtual {v0, v1}, Lbean/OrderBean;->setPaystatus(Ljava/lang/String;)V

    .line 454
    const-string v1, "1"

    invoke-virtual {v0, v1}, Lbean/OrderBean;->setStatus(Ljava/lang/String;)V

    .line 455
    const-string v1, "\u7b49\u5f85\u53d1\u8d27"

    invoke-virtual {v0, v1}, Lbean/OrderBean;->setseestatus(Ljava/lang/String;)V

    .line 456
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderls:Ljava/util/List;

    iget v2, p0, Lcom/wmr/order/OrderlistActivity;->order_ctrol_postion:I

    invoke-interface {v1, v2, v0}, Ljava/util/List;->set(ILjava/lang/Object;)Ljava/lang/Object;

    .line 457
    iget-object v1, p0, Lcom/wmr/order/OrderlistActivity;->orderAdapter:Ldata/OrderData;

    invoke-virtual {v1}, Ldata/OrderData;->notifyDataSetChanged()V

    goto/16 :goto_0
.end method

.method public waitlogin()V
    .locals 6

    .prologue
    const/4 v5, -0x2

    .line 466
    iget-object v2, p0, Lcom/wmr/order/OrderlistActivity;->shoplayout:Landroid/widget/RelativeLayout;

    invoke-virtual {v2}, Landroid/widget/RelativeLayout;->removeAllViews()V

    .line 467
    iget-object v2, p0, Lcom/wmr/order/OrderlistActivity;->waitLoginView:Landroid/view/View;

    if-nez v2, :cond_0

    .line 468
    iget-object v2, p0, Lcom/wmr/order/OrderlistActivity;->mcontext:Landroid/content/Context;

    const v3, 0x7f03009e

    .line 469
    const/4 v4, 0x0

    .line 468
    invoke-static {v2, v3, v4}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/wmr/order/OrderlistActivity;->waitLoginView:Landroid/view/View;

    .line 470
    iget-object v2, p0, Lcom/wmr/order/OrderlistActivity;->waitLoginView:Landroid/view/View;

    .line 471
    const v3, 0x7f0c0301

    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    .line 470
    check-cast v1, Landroid/widget/TextView;

    .line 472
    .local v1, "waitlogin":Landroid/widget/TextView;
    new-instance v2, Lcom/wmr/order/OrderlistActivity$10;

    invoke-direct {v2, p0}, Lcom/wmr/order/OrderlistActivity$10;-><init>(Lcom/wmr/order/OrderlistActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 485
    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v5, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    .line 488
    .local v0, "lp2":Landroid/widget/RelativeLayout$LayoutParams;
    const/16 v2, 0xa

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    .line 489
    const/16 v2, 0xe

    const/4 v3, -0x1

    invoke-virtual {v0, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    .line 490
    iget-object v2, p0, Lcom/wmr/order/OrderlistActivity;->waitLoginView:Landroid/view/View;

    invoke-virtual {v2, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 492
    .end local v0    # "lp2":Landroid/widget/RelativeLayout$LayoutParams;
    .end local v1    # "waitlogin":Landroid/widget/TextView;
    :cond_0
    iget-object v2, p0, Lcom/wmr/order/OrderlistActivity;->shoplayout:Landroid/widget/RelativeLayout;

    iget-object v3, p0, Lcom/wmr/order/OrderlistActivity;->waitLoginView:Landroid/view/View;

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    .line 493
    return-void
.end method
